import Vue from 'vue'
import App from './App.vue'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import Router from 'vue-router'
import Vuex from 'vuex'
Vue.use(Vuex)
Vue.use(Router)
import store from './store'
import router from './router';
//main.js
import axios from 'axios'

Vue.prototype.$axios = axios.create({
  baseURL: 'api'
});
Vue.config.productionTip = false
Vue.use(ElementUI);

new Vue({
  render: h => h(App),
  store: store,
  router
}).$mount('#app')
